package com.woniuxy.movice.entity;

import java.io.Serializable;

public class Cinema implements Serializable{
	private static final long serialVersionUID = -9141265447046688218L;
    private Integer yid;

    private String yname;
    private String yphone;
    private String yaddress;

    private Integer zid;

    private String yimg;

    private String ytext;
    private MainTheater mainTheater;
	public Cinema(Integer yid, String yname, String yphone, String yaddress, Integer zid, String yimg, String ytext,
			MainTheater mainTheater) {
		super();
		this.yid = yid;
		this.yname = yname;
		this.yphone = yphone;
		this.yaddress = yaddress;
		this.zid = zid;
		this.yimg = yimg;
		this.ytext = ytext;
		this.mainTheater = mainTheater;
	}
	@Override
	public String toString() {
		return "Cinema [yid=" + yid + ", yname=" + yname + ", yphone=" + yphone + ", yaddress=" + yaddress + ", zid="
				+ zid + ", yimg=" + yimg + ", ytext=" + ytext + ", mainTheater=" + mainTheater + "]";
	}
	public Integer getYid() {
		return yid;
	}
	public void setYid(Integer yid) {
		this.yid = yid;
	}
	public String getYname() {
		return yname;
	}
	public void setYname(String yname) {
		this.yname = yname;
	}
	public String getYphone() {
		return yphone;
	}
	public void setYphone(String yphone) {
		this.yphone = yphone;
	}

	public String getYaddress() {
		return yaddress;
	}
	public void setYaddress(String yaddress) {
		this.yaddress = yaddress;
	}
	public Integer getZid() {
		return zid;
	}
	public void setZid(Integer zid) {
		this.zid = zid;
	}
	public String getYimg() {
		return yimg;
	}
	public void setYimg(String yimg) {
		this.yimg = yimg;
	}
	public String getYtext() {
		return ytext;
	}
	public void setYtext(String ytext) {
		this.ytext = ytext;
	}
	public MainTheater getMainTheater() {
		return mainTheater;
	}
	public void setMainTheater(MainTheater mainTheater) {
		this.mainTheater = mainTheater;
	}
	public Cinema() {
		super();
		// TODO Auto-generated constructor stub
	}

}



   

